//package org.liuyunfeng.config;
//
//import org.liuyunfeng.interceptor.BasicInterceptor;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.EnableWebMvc;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
//
///**
// * @description:
// * @author: TanJingyu
// * @create: 2022-01-07 15:21
// **/
//@Configuration(proxyBeanMethods = false)
//public class MvcConfiguration implements WebMvcConfigurer {
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(new BasicInterceptor()).addPathPatterns("/json/**");
//    }
//}
//
//